//
//  BaseTableViewController.h
//  Penglai
//
//  Created by intel intel on 12-5-29.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShowHomeBaseViewController.h"
#import "NextPageCell.h"
//#import "EGORefreshTableHeaderView.h"

@interface BaseTableViewController : ShowHomeBaseViewController<UIScrollViewDelegate,UITableViewDelegate,UITableViewDataSource>
{
    UITableView *dataTableView;
    NextPageCell *nextPageCell;

    //EGORefreshTableHeaderView *_refreshHeaderView;
	BOOL _reloading;	
    //NSMutableArray *rows;
    BOOL closeNextPage;
	BOOL haveNextPage;
	BOOL isLoadingNextPage;
    BOOL threadLoadData;
	int rownum;
	NSInteger _page;
    
    //!房间列表，用于修改设备所属房间使用
    NSArray *_roomDataList;
    NSString *ipUrl;
}
@property (nonatomic,assign) UITableViewStyle style;
@property (nonatomic,strong) NSMutableArray *rows;
@property (nonatomic,assign) BOOL showRefreshHeader;

-(void)refreshData;
- (void)doneLoadingTableViewData:(NSArray *)theresult;

- (void)requestGetRoomList;
@end
